//
//  RequestAFNetworking.m
//  旅游趣吧
//
//  Created by apple on 15/9/20.
//  Copyright © 2015年 lampshade. All rights reserved.
//

#import "RequestAFNetworking.h"
#import "AFNetworking.h"

@implementation RequestAFNetworking
- (AFHTTPRequestOperationManager *)sendRequest{
    AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
    manager.requestSerializer = [AFJSONRequestSerializer serializer];
    manager.responseSerializer = [AFJSONResponseSerializer serializer];
    manager.responseSerializer.acceptableContentTypes = [NSSet setWithObject:@"text/plain"];
    return manager;
}
@end
